var m=Object.defineProperty;var u=(s,t,e)=>t in s?m(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e;var p=(s,t,e)=>u(s,typeof t!="symbol"?t+"":t,e);var l=(s,t,e)=>new Promise((a,n)=>{var c=i=>{try{o(e.next(i))}catch(r){n(r)}},d=i=>{try{o(e.throw(i))}catch(r){n(r)}},o=i=>i.done?a(i.value):Promise.resolve(i.value).then(c,d);o((e=e.apply(s,t)).next())});import{SFDBSrc as A}from"./SFDBSrc-YuZRZGbf.js";import{PageBaseGroupEdit as h}from"./PageBaseGroupEdit-B6cBwNc9.js";import{H as B}from"./entry/index-eeHD39R2-1735783847367.js";import"./vue-Gs2A-FTJ.js";import"./antd-CYjn0DaE.js";import"./Help-D0bDMZWg.js";class _ extends h{constructor(){super("GPE_WebApiResultModel");p(this,"Desc0",`  
  #### 帮助
  - 驰骋提供的格式.
{
  code:200,
  message:'执行成功',
  data:'xxxxx'
  }

  - code=200 执行成功. code=500 执行失败, code=404 标识配置错误，没有连接.
   - 如果对方按照这个格式返回的数据,就不需要转换。
 
  `);p(this,"Desc1",`
  #### 帮助
  - 要写一个 BuessUnit 类
  - 请参考:  BP.App.Demo.BuessUnit_LocalWebApi_ResultObj
  - 在这个类里，把您的格式转换为驰骋的格式返回数据.
  `);this.PageTitle="数据标准转换模式"}Init(){return l(this,null,function*(){this.entity=new A,this.KeyOfEn="WebApiResultModel",this.AddGroup("A","数据标准转换模式"),this.Blank("0","不转换,采用标准格式.",this.Desc0),this.SelectItemsByList("1","使用业务单元转换",this.Desc1,!1,yield this.GenerBuessUnit(),"WebApiResultObjEnName","WebApiResultObjEnNameT")})}GenerBuessUnit(){return l(this,null,function*(){const a=yield new B("BP.WF.HttpHandler.WF_Admin_AttrNode").DoMethodReturnJson("ActionDtl_Init");return JSON.stringify(a)})}BtnClick(e,a,n){}AfterSave(e,a){}}export{_ as GPE_WebApiResultModel};
